<?php
/**
 * Created by PhpStorm.
 * User: WUHENG
 * Date: 2022/10/5
 * Time: 21:35
 */

namespace app\index\model;


use think\Model;

class Article extends Model
{
    public function articleType(){
        return $this->hasMany('Type','typID','typID');
    }
    public function articleUser(){
        return $this->hasMany('User','uID','uID');
    }
}